package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 db_goods
 * 
 * @author ruoyi
 * @date 2025-06-08
 */
public class DbGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商家id */
    private Long merchantId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 现价 */
    @Excel(name = "现价")
    private BigDecimal currentPrice;

    /** 销量 */
    @Excel(name = "销量")
    private String salesVolume;

    /** 好评率 */
    @Excel(name = "好评率")
    private String reviewRate;

    /** 图片 */
    @Excel(name = "图片")
    private String goodPhoto;

    /** 分类 */
    @Excel(name = "分类")
    private String goodType;

    /** 状态 */
    @Excel(name = "状态")
    private String goodStatus;

    /** 备用1 */
    private String standby1;

    /** 备用2 */
    private String standby2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }

    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }

    public void setOriginalPrice(BigDecimal originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice() 
    {
        return originalPrice;
    }

    public void setCurrentPrice(BigDecimal currentPrice) 
    {
        this.currentPrice = currentPrice;
    }

    public BigDecimal getCurrentPrice() 
    {
        return currentPrice;
    }

    public void setSalesVolume(String salesVolume) 
    {
        this.salesVolume = salesVolume;
    }

    public String getSalesVolume() 
    {
        return salesVolume;
    }

    public void setReviewRate(String reviewRate) 
    {
        this.reviewRate = reviewRate;
    }

    public String getReviewRate() 
    {
        return reviewRate;
    }

    public void setGoodPhoto(String goodPhoto) 
    {
        this.goodPhoto = goodPhoto;
    }

    public String getGoodPhoto() 
    {
        return goodPhoto;
    }

    public void setGoodType(String goodType) 
    {
        this.goodType = goodType;
    }

    public String getGoodType() 
    {
        return goodType;
    }

    public void setGoodStatus(String goodStatus) 
    {
        this.goodStatus = goodStatus;
    }

    public String getGoodStatus() 
    {
        return goodStatus;
    }

    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }

    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantId", getMerchantId())
            .append("goodName", getGoodName())
            .append("originalPrice", getOriginalPrice())
            .append("currentPrice", getCurrentPrice())
            .append("salesVolume", getSalesVolume())
            .append("reviewRate", getReviewRate())
            .append("goodPhoto", getGoodPhoto())
            .append("goodType", getGoodType())
            .append("goodStatus", getGoodStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .toString();
    }
}
